package org.balabala.gateway.utils;

import org.springframework.util.DigestUtils;

public class MD5Util {

    private final static String salt = "balabala";

    public static String getMd5(long message){
        String base = message + "/" + salt;
        String md5Value = DigestUtils.md5DigestAsHex(base.getBytes());
        return md5Value;
    }
}